<%-- 
    Document   : FormSearch.jsp
    Created on : Dec 10, 2012, 11:03:39 PM
    Author     : Yo
--%>

<%@page import="java.sql.ResultSet"%>
<%@page import="bean.ProsesBean"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Search</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

        <meta name="keywords" content="" />
        <meta name="description" content="" />
        <link href="http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300" rel="stylesheet" type="text/css" />
        <link href="default.css" rel="stylesheet" type="text/css" media="all" />

    </head>
    <body>

        <div id="header" class="container">
            <div id="logo">
                <h1><a href="#">Pendafataran SMA Negeri Online</a></h1>
                <p>Yogyakarta</a></p>
            </div>
        </div>
        <div id="menu" class="container">
            <ul>
                <li><a href="FormUtama.jsp" accesskey="1" title="">Home</a></li>
                <li><a href="FormPendaftaran.jsp" accesskey="1" title="">Pendafataran</a></li>
                <li><a href="FormPengumuman.jsp" accesskey="2" title="">Pengumuman</a></li>
                <li ><a href="FormInformasi.jsp" accesskey="3" title="">Informasi</a></li>
                <li><a href="#" accesskey="4" title=""></a></li>
                <li><a href="#" accesskey="5" title=""></a></li>
            </ul>
        </div>

        <div id="page" class="container">

            <div id="content">

                <%
                    String noPendaftaran = request.getParameter("noPendaftaran");
                    int a = Integer.parseInt(noPendaftaran);
                    try {
                        ProsesBean PK = new ProsesBean();%>
                <h3>Pengumuman Hasil Seleksi</h3>
                <table border="1" width="500" >
                    <tr>
                        <td> nomor Pendaftaran </td>
                        <td> Nama </td>
                        <td> Statuts Terima </td>


                    </tr>
                    <%
                        ResultSet temp = PK.Seacrh(a);
                        while (temp.next()) {
                    %>
                    <tr>
                        <td><%=temp.getString(1)%></td>
                        <td><%=temp.getString(2)%></td>
                        <td><%=temp.getString(3)%></td>

                    </tr>
                    <%            }
                    %>
                </table >

                <%
                    } catch (Exception e) {
                        e.getMessage();
                    }
                %>

                <a href="FormPengumuman.jsp"><p>back</p></a>
            </div>

        </div>
        <div id="footer">
            <p>Copyright (c) 2012 www.Vido_Dido.com </p>
        </div>
    </body>
</html>
